CREATE TABLE [dbo].[TTTIOP_AJUS]
(
[CO_EMPR] [dbo].[TD_VC_002] NOT NULL,
[CO_TIPO_OPER] [dbo].[TD_VC_003] NOT NULL,
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NOT NULL CONSTRAINT [DF__TTTIOP_AJ__CO_US__015F0FBB] DEFAULT (suser_sname()),
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TTTIOP_AJ__FE_US__025333F4] DEFAULT (getdate()),
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NOT NULL CONSTRAINT [DF__TTTIOP_AJ__CO_US__0347582D] DEFAULT (suser_sname()),
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TTTIOP_AJ__FE_US__043B7C66] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TTTIOP_AJUS] ADD CONSTRAINT [PK__TTTIOP_A__9F5DF03A1B93E30A] PRIMARY KEY CLUSTERED  ([CO_EMPR], [CO_TIPO_OPER]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TTTIOP_AJUS] ADD CONSTRAINT [FK__TTTIOP_AJUS__73DAF76B] FOREIGN KEY ([CO_EMPR], [CO_TIPO_OPER]) REFERENCES [dbo].[TTTIPO_OPER] ([CO_EMPR], [CO_TIPO_OPER])
GO
